﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.ExportToRTR.CApExportToRTRStaticExporter
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using System.Collections.Generic;
using Tecnomatix.Engineering;


namespace DnProcessSimulateCommands.ExportToRTR{

public class CApExportToRTRStaticExporter : CApExportToRTRCollectionExporter<ITxObject>
{
  public override void Export(CApExportToRTRXmlWriter writer, string path, string worldLink)
  {
    if (this.Objects.Count <= 0)
      return;
    CApExportToRTRStaticObjects rtrStaticObjects = new CApExportToRTRStaticObjects(this.Objects, path, worldLink);
    rtrStaticObjects.Write(writer);
    this.Exported3D.UnionWith((IEnumerable<ITxObject>) rtrStaticObjects.Static3D);
  }
}
